<!DOCTYPE html>
<html>
{include file="public/head" /}
<style>
    table {
        table-layout: fixed;
    }


    td {
		font-size:12px;

        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
</style>
<body class="zanpian-body">
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="panel-heading">
    <div class="panel-lead" style="overflow:hidden"><span style="float:left">定时采集</span>  <span style="float:right"><a href="{:url('index')}" class="text-link">返回资源库列表</a></span></div>
  </div>
          <div class="nav-tabs-custom">         
            <form id="myforms" class="myform form-horizontal"  method="post" action="{:url('wait')}">
            
           <div class="panel-body">
           <div class="tab-content tab-fade fade active in" id="tab_1">
           <div class="row">
           <div class="col-md-5 col-sm-6 col-xs-12 mb10 ">
                <div class="input-group">
                <span class="btn btn-default" style="width:100%;border-radius: 0px; border-bottom:none">选择需要采集的资源支持多选</span>
            <select name="ds[url][]" multiple class="form-control" style="height:350px">
{volist name="list" id="vo"}
<option value="{:url('api',array('sid'=>$vo['collect_cid'],'status'=>$vo['collect_status'],'ac'=>'day','type'=>$vo['collect_type'],'apiid'=>$vo['collect_id'],'apiurl'=>base64_encode($vo['collect_url']),'param'=>base64_encode($vo['collect_other']),'h'=>24))}">{$i}.{$vo.collect_name}</option>
{/volist}
</select>
              </div>
               </div>
           <div class="col-md-6 col-sm-6 col-xs-12 mb10">
               <div class="input-group margin15">
                <div class="input-group-btn">
                <span class="btn btn-default">采集当天数据频率(分钟/次)：</span>
                </div>
                <!-- /btn-group --> 
             <input type="text" class="form-control text-center" name="ds[caiji]" type="text"  value="30" >
              </div>  
               <div class="input-group margin15">
                <div class="input-group-btn">
                <span class="btn btn-default">采集后生成静态间隔(分钟/次)：</span>
                </div>
                <!-- /btn-group -->
             <input type="text" class="form-control text-center" name="ds[create]" type="text"  value="35" >
              </div>
                                            <div class="input-group margin15">            
      使用方法：从左侧选采集的资源库支持多选，并设定定时频率提交即可。
      </div>
       <div class="input-group margin15">            
      <input name="" type="submit"  value="执行定时任务" class="btn btn-success btn-add"/> 
      </div>
               </div>
               </div> 
            </div>                    
           <!-- /.tab-content -->                                          
         </div>
         <!-- /.panel-body --> 
              </form> 
          </div>
          <!-- /.nav-tabs-custom -->
        </div>
        </div>
        </section>
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();
});	
</script>
</body>
</html>
